package com.gopay.common.constants.cbrmb;

import java.io.Serializable;

/**
 * 
 * @ClassName: CbRmbBankConstants
 * @Description: 跨境人民币银行常量
 * @author gd.cui
 * @date 2016年6月30日 下午4:19:29 ww.gopay.com.cn Inc.All rights reserved.
 */
public class CbRmbBankConstants implements Serializable {

    private static final long serialVersionUID = -6132249748040352467L;

    public final static String SUCCESS = "000000";// 报盘成功_银行返回成功
    public final static String PAY_SUCCESS="00000";//支付成功
    public final static String QUERY_SENDER_ID="GOPS";
    public final static String QUERY_TRAN_TYPE="8888";

    /******************** 跨境人民币 FTP配置 ************************/
//    public final static String FTP_IP = "211.88.2.77";//测试 211.88.2.79
    public final static int FTP_PORT = 21;
    public final static String FTP_USERNAME = "ccbrmb";
    public final static String FTP_PASSWORD = "hpH#j$@P";
    public final static String FTP_UPLOAD_PATH = "Gopay_LP/";
    public final static String FTP_DOWNLOAD_PATH = "CCB_HP/";

    /******************** 跨境人民币 本地文件地址配置 ************************/
    public final static String LOCAL_UPLOAD_PATH = "/usr/local/ciecc/bankFiles/CBRMB/CCB/upload/";
    public final static String LOCAL_DOWNLOAD_PATH = "/usr/local/ciecc/bankFiles/CBRMB/CCB/download/";

    /******************** 跨境人民币 socket配置 ************************/
//    public final static String CCB_SOCKET_IP = "15.56.2.2";//测试：201.88.18.18
    public final static int CCB_SOCKET_PORT = 28403;
    public final static int RESPONSE_TIMEOUT = 60;
    public final static int GOPAY_SOCKET_PORT = 2001;//测试为：10090 灰度和生产为2001
//    public final static String PERMIT_IP = "201.88.2.70";// 合法IP地址

    /******************** 跨境人民币 常量配置 ************************/
    public final static String XML_HEAD = "<?xml version=\"1.0\" encoding=\"GBK\" ?>";

    public final static String CHARSET_GBK = "GBK";
    public final static String CHARSET_UTF_8 = "UTF-8";

    public final static String YES = "Y";
    public final static String NO = "N";

    public final static String CNY = "CNY";//币种

}
